cmake_minimum_required(VERSION 3.27)
project(discussion C)

set(CMAKE_C_STANDARD 11)

add_executable(demo1 demo1.c)
add_executable(demo2 demo2.c)
add_executable(demo3 demo3.c)
add_executable(demo6 demo6.c)
add_executable(demo7 demo7.c)
add_executable(demo8 demo8.c)

add_compile_options(-finput-charset=UTF-8 -fexec-charset=UTF-8)